package com.sd.common.constant;

/**
 * websocket常量类
 */
public class WebsocketConstants {
    public enum EventTypeEnum{
        onOpen("onOpen"),
        onMessage("onMessage"),
        onClose("onClose"),
        onError("onError");
        private String value;
        EventTypeEnum(String value){
            this.value = value;
        }
        public String getValue(){
            return this.value;
        }
    }

  /*  public static void main(String[] args){
       System.out.println(EventTypeEnum.onOpen.getValue().equals("onOpen"));
    }*/
}
